import { createApp } from 'vue';
import App from './App.vue';
import { Store } from './store/index';
import routes from './routes';
import ElementPlus from 'element-plus';
import 'element-plus/lib/theme-chalk/index.css';
import './style/index.scss';
import './navigation-guards';

const app = createApp(App)
//确保 _use_ 路由实例使
//整个应用支持路由。
const store = new Store;
app.use(routes);
app.use(store.getStore());
app.use(ElementPlus);

app.mount('#app')

//createApp(App).mount('#app')
